[INFO] fetching crate sioctl 0.0.2...
[INFO] building sioctl-0.0.2 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate sioctl 0.0.2 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate sioctl 0.0.2 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sioctl 0.0.2
[INFO] finished tweaking crates.io crate sioctl 0.0.2
[INFO] tweaked toml for crates.io crate sioctl 0.0.2 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate crates.io crate sioctl 0.0.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 976311f1c4849709c9fb8009c8f9146cc3646dcb722ce0b0eb9f94ccc2fa6014
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "976311f1c4849709c9fb8009c8f9146cc3646dcb722ce0b0eb9f94ccc2fa6014", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "976311f1c4849709c9fb8009c8f9146cc3646dcb722ce0b0eb9f94ccc2fa6014", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "976311f1c4849709c9fb8009c8f9146cc3646dcb722ce0b0eb9f94ccc2fa6014", kill_on_drop: false }`
[INFO] [stdout] 976311f1c4849709c9fb8009c8f9146cc3646dcb722ce0b0eb9f94ccc2fa6014
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4529b501eb47939a31c5d10b4b4d2453d4ff991ee82f0a61539c6e034f9d7b8c
[INFO] running `Command { std: "docker" "start" "-a" "4529b501eb47939a31c5d10b4b4d2453d4ff991ee82f0a61539c6e034f9d7b8c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling bindgen v0.53.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling aho-corasick v0.7.10
[INFO] [stderr]    Compiling nom v5.1.1
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling regex v1.3.7
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling sndio-sys v0.0.1
[INFO] [stderr]    Compiling sioctl v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `sioctl_hdl` in this scope
[INFO] [stdout]   --> src/lib.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 | struct Handle(*mut sioctl_hdl);
[INFO] [stdout]    |                    ^^^^^^^^^^ help: a struct with a similar name exists: `sio_hdl`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/target/debug/build/sndio-sys-9a82ef91e75d786f/out/bindings.rs:3:39126
[INFO] [stdout]    |
[INFO] [stdout] 3  | ... derive ( Debug , Copy , Clone ) ] pub struct sio_hdl { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ...
[INFO] [stdout]    |                                       ------------------ similarly named struct `sio_hdl` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `sioctl_hdl` in this scope
[INFO] [stdout]   --> src/lib.rs:82:30
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn as_ptr(&self) -> *mut sioctl_hdl {
[INFO] [stdout]    |                              ^^^^^^^^^^ help: a struct with a similar name exists: `sio_hdl`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/target/debug/build/sndio-sys-9a82ef91e75d786f/out/bindings.rs:3:39126
[INFO] [stdout]    |
[INFO] [stdout] 3  | ... derive ( Debug , Copy , Clone ) ] pub struct sio_hdl { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ...
[INFO] [stdout]    |                                       ------------------ similarly named struct `sio_hdl` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sioctl_close` in this scope
[INFO] [stdout]   --> src/lib.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             sioctl_close(self.0);
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: a function with a similar name exists: `sio_close`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/target/debug/build/sndio-sys-9a82ef91e75d786f/out/bindings.rs:3:49036
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...dl ; } extern "C" { pub fn sio_close ( arg1 : * mut sio_hdl ) ; } extern "C" { pub fn sio_setpar ( arg1 : * mut sio_hdl , arg2 : * mut...
[INFO] [stdout]    |                        ------------------------------------------- similarly named function `sio_close` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sioctl_open` in this scope
[INFO] [stdout]    --> src/lib.rs:117:31
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let handle = unsafe { sioctl_open(SIO_DEVANY.as_ptr() as *const _, SIOCTL_READ, 0) };
[INFO] [stdout]     |                               ^^^^^^^^^^^ help: a function with a similar name exists: `sio_open`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/target/debug/build/sndio-sys-9a82ef91e75d786f/out/bindings.rs:3:48860
[INFO] [stdout]     |
[INFO] [stdout] 3   | ... { pub fn sio_open ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_uint , arg3 : :: std :: os :: raw :: c_int ) -> * mut sio_hdl ; } ...
[INFO] [stdout]     |       ---------------------------------------------------------------------------------------------------------------------------------------------------------------- similarly named function `sio_open` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SIOCTL_READ` in this scope
[INFO] [stdout]    --> src/lib.rs:117:76
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let handle = unsafe { sioctl_open(SIO_DEVANY.as_ptr() as *const _, SIOCTL_READ, 0) };
[INFO] [stdout]     |                                                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sioctl_ondesc` in this scope
[INFO] [stdout]    --> src/lib.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |             sioctl_ondesc(handle.as_ptr(), Some(ondesc), ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sioctl_onval` in this scope
[INFO] [stdout]    --> src/lib.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |             sioctl_onval(handle.as_ptr(), Some(onval), ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: a function with a similar name exists: `sio_onvol`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/target/debug/build/sndio-sys-9a82ef91e75d786f/out/bindings.rs:3:50710
[INFO] [stdout]     |
[INFO] [stdout] 3   | ... { pub fn sio_onvol ( arg1 : * mut sio_hdl , arg2 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : :: std :: os :: raw :: c_uint ) > , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } ...
[INFO] [stdout]     |       --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- similarly named function `sio_onvol` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sioctl_nfds` in this scope
[INFO] [stdout]    --> src/lib.rs:280:20
[INFO] [stdout]     |
[INFO] [stdout] 280 |         let nfds = sioctl_nfds(handle.as_ptr()) as usize;
[INFO] [stdout]     |                    ^^^^^^^^^^^ help: a function with a similar name exists: `sio_nfds`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/target/debug/build/sndio-sys-9a82ef91e75d786f/out/bindings.rs:3:50133
[INFO] [stdout]     |
[INFO] [stdout] 3   | ...C" { pub fn sio_nfds ( arg1 : * mut sio_hdl ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sio_pollfd ( arg1 : * mut sio_hd...
[INFO] [stdout]     |         -------------------------------------------------------------------------- similarly named function `sio_nfds` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sioctl_pollfd` in this scope
[INFO] [stdout]    --> src/lib.rs:282:24
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let mut nfds = sioctl_pollfd(handle.as_ptr(), pollfds.as_mut_ptr(), POLLIN as i32) as usize;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^ help: a function with a similar name exists: `sio_pollfd`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/target/debug/build/sndio-sys-9a82ef91e75d786f/out/bindings.rs:3:50223
[INFO] [stdout]     |
[INFO] [stdout] 3   | ... { pub fn sio_pollfd ( arg1 : * mut sio_hdl , arg2 : * mut pollfd , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } ...
[INFO] [stdout]     |       ---------------------------------------------------------------------------------------------------------------------------------------- similarly named function `sio_pollfd` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sioctl_revents` in this scope
[INFO] [stdout]    --> src/lib.rs:309:27
[INFO] [stdout]     |
[INFO] [stdout] 309 |             let revents = sioctl_revents(handle.as_ptr(), pollfds.as_mut_ptr());
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ help: a function with a similar name exists: `sio_revents`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/target/debug/build/sndio-sys-9a82ef91e75d786f/out/bindings.rs:3:50375
[INFO] [stdout]     |
[INFO] [stdout] 3   | ...extern "C" { pub fn sio_revents ( arg1 : * mut sio_hdl , arg2 : * mut pollfd ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn...
[INFO] [stdout]     |                 --------------------------------------------------------------------------------------------------- similarly named function `sio_revents` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `sioctl_desc` in this scope
[INFO] [stdout]    --> src/lib.rs:327:51
[INFO] [stdout]     |
[INFO] [stdout] 327 | extern "C" fn ondesc(ptr: *mut c_void, desc: *mut sioctl_desc, value: c_int) {
[INFO] [stdout]     |                                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:296:46
[INFO] [stdout]     |
[INFO] [stdout] 296 |             while poll(pollfds.as_mut_ptr(), nfds as u32, -1) < 0 {
[INFO] [stdout]     |                                              ^^^^^^^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              expected `u64`, found `u32`
[INFO] [stdout]     |                                              help: you can convert a `u32` to a `u64`: `(nfds as u32).into()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sioctl`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4529b501eb47939a31c5d10b4b4d2453d4ff991ee82f0a61539c6e034f9d7b8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4529b501eb47939a31c5d10b4b4d2453d4ff991ee82f0a61539c6e034f9d7b8c", kill_on_drop: false }`
[INFO] [stdout] 4529b501eb47939a31c5d10b4b4d2453d4ff991ee82f0a61539c6e034f9d7b8c
